\hypertarget{_i_o_device_8h}{\section{libemb/inc/\+I\+O\+Device.h 文件参考}
\label{_i_o_device_8h}\index{libemb/inc/\+I\+O\+Device.\+h@{libemb/inc/\+I\+O\+Device.\+h}}
}
{\ttfamily \#include \char`\"{}Base\+Type.\+h\char`\"{}}\\*
{\ttfamily \#include $<$iostream$>$}\\*
\subsection*{类}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_i_o_device}{I\+O\+Device}
\begin{DoxyCompactList}\small\item\em I\+O设备抽象类 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{枚举}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+E} \{ \\*
\hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1a27022ada5ee1744f3655bfb7f20b6073}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+\_\+\+O\+N\+L\+Y}, 
\hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1aab49360370e94dab29f897ebca46a039}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+W\+R\+\_\+\+O\+N\+L\+Y}, 
\hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1ab3555901878de6149ae9f19e5334eec2}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+N\+L\+Y}, 
\hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1ac1484c93c95b30648bed3bb3c0554099}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+N\+L\+Y}, 
\\*
\hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1a2bdd54dd7b01dfe5a9ca18f0ac03171b}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+E\+W\+R\+\_\+\+O\+R\+N\+E\+W}, 
\hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1a7f1662183255add56ded747cd7c33f7f}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+R\+N\+E\+W}, 
\hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1a64e611933873bb668dac36b47730f742}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W}, 
\hyperlink{_i_o_device_8h_afec45303531650c65545508637c44ba1a211addaf572cfd804c2ba3319c518c6e}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W}, 
\\*
{\bfseries I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+I\+N\+V\+A\+L\+I\+D} =0x\+F\+F
 \}
\end{DoxyCompactItemize}


\subsection{枚举类型说明}
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1}{\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+E@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+E}}
\index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+E@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+E}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}
\subsubsection[{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+E}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+E}}}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1}
定义输入输出模式 \begin{Desc}
\item[枚举值]\par
\begin{description}
\index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+\_\+\+O\+N\+L\+Y@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+\_\+\+O\+N\+L\+Y}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+\_\+\+O\+N\+L\+Y@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+\_\+\+O\+N\+L\+Y}}\item[{\em 
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1a27022ada5ee1744f3655bfb7f20b6073}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+\_\+\+O\+N\+L\+Y}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1a27022ada5ee1744f3655bfb7f20b6073}
}]只可读(r) \index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+W\+R\+\_\+\+O\+N\+L\+Y@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+W\+R\+\_\+\+O\+N\+L\+Y}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+W\+R\+\_\+\+O\+N\+L\+Y@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+W\+R\+\_\+\+O\+N\+L\+Y}}\item[{\em 
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1aab49360370e94dab29f897ebca46a039}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+W\+R\+\_\+\+O\+N\+L\+Y}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1aab49360370e94dab29f897ebca46a039}
}]只可写 \index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+N\+L\+Y@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+N\+L\+Y}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+N\+L\+Y@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+N\+L\+Y}}\item[{\em 
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1ab3555901878de6149ae9f19e5334eec2}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+N\+L\+Y}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1ab3555901878de6149ae9f19e5334eec2}
}]只可读写(r+) \index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+N\+L\+Y@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+N\+L\+Y}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+N\+L\+Y@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+N\+L\+Y}}\item[{\em 
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1ac1484c93c95b30648bed3bb3c0554099}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+N\+L\+Y}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1ac1484c93c95b30648bed3bb3c0554099}
}]只增加 \index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+E\+W\+R\+\_\+\+O\+R\+N\+E\+W@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+E\+W\+R\+\_\+\+O\+R\+N\+E\+W}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+E\+W\+R\+\_\+\+O\+R\+N\+E\+W@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+E\+W\+R\+\_\+\+O\+R\+N\+E\+W}}\item[{\em 
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1a2bdd54dd7b01dfe5a9ca18f0ac03171b}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+E\+W\+R\+\_\+\+O\+R\+N\+E\+W}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1a2bdd54dd7b01dfe5a9ca18f0ac03171b}
}]文件重写,没有则创建(w) \index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+R\+N\+E\+W@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+R\+N\+E\+W}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+R\+N\+E\+W@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+R\+N\+E\+W}}\item[{\em 
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1a7f1662183255add56ded747cd7c33f7f}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+W\+R\+\_\+\+O\+R\+N\+E\+W}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1a7f1662183255add56ded747cd7c33f7f}
}]文件可读写,没有则创建(w+) \index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W}}\item[{\em 
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1a64e611933873bb668dac36b47730f742}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1a64e611933873bb668dac36b47730f742}
}]文件可增加,没有则创建(a) \index{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W}!I\+O\+Device.\+h@{I\+O\+Device.\+h}}\index{I\+O\+Device.\+h@{I\+O\+Device.\+h}!I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W@{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W}}\item[{\em 
\hypertarget{_i_o_device_8h_afec45303531650c65545508637c44ba1a211addaf572cfd804c2ba3319c518c6e}{I\+O\+\_\+\+M\+O\+D\+E\+\_\+\+R\+D\+A\+P\+P\+E\+N\+D\+\_\+\+O\+R\+N\+E\+W}\label{_i_o_device_8h_afec45303531650c65545508637c44ba1a211addaf572cfd804c2ba3319c518c6e}
}]文件可读或可增加,没有则创建(a+) \end{description}
\end{Desc}
